﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 装饰模式
{
    class Sticker:Decorator
    {
        public Sticker(Phone phone) : base(phone)
        {

        }

        public override void Print()
        {
            base.Print();

            AddSticker(); //添加新的行为，既装饰手机
        }

        public void AddSticker()
        {
            Console.WriteLine("华为手机，贴膜了");
        }
    }
}
